package cn.mysource.org.mapper;

import cn.mysource.basic.mapper.BaseMapper;
import cn.mysource.org.domain.Department;
import cn.mysource.org.query.DepartmentQuery;

import java.util.List;
//  实现 类实现接口    继承 接口继承接口 类继承类
public interface DepartmentMapper extends BaseMapper<Department> {

//    Department findById(Long id);
//
//    List<Department> findAll();
//
//    void add(Department department);
//
//    void update(Department department);
//
//    void delete(Long id);
//
//    void batchDelete(List<Long> ids);
//
//    List<Department> queryByPage(DepartmentQuery query);//分页查询
//
//    Integer queryByCount(DepartmentQuery query);//查询条数
//


}
